package com.ruoyi.common.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.BusinessLogInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * 业务日志Mapper接口
 * @date 2024-08-06
 */
@Repository
public interface BusinessLogInfoMapper extends BaseMapper<BusinessLogInfo> {
    List<BusinessLogInfo> selectBusinessLogList(
            @Param("business") String business,
            @Param("subBusiness") String subBusiness, @Param("businessId") Long businessId);

    BusinessLogInfo findLastByProcInstId(@Param("processInstanceId") String processInstanceId);
}
